<input type="hidden" id="exportBtn" shiro:hasPermission="rploanlist:Loanexport" value="1" />

<div class="row-content am-cf">
	<div class="row">
		<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
			<div class="widget am-cf">
				<div class="widget-head am-cf">
					<div class="widget-title  am-cf">借款明细</div>
				</div>
									
				   
				<form id="userReportForm" class="am-form am-form-horizontal" method="post" action="jkreport/excel">
				  <div class="am-form-group">
						<label for="mobile" class="am-u-sg-6 am-u-mg-2 am-u-lg-2 am-form-label">借款人手机号</label>
						<div class="am-u-lg-2">
						 	<input type="text" class="am-form-field " placeholder="借款人手机号" id="mobile" th:value="${mobile}" /> 
						</div>
						<label for="realName" class="am-u-lg-2 am-form-label">借款人姓名</label>
						<div class="am-u-lg-2">
						 	<input type="text" class="am-form-field " placeholder="借款人姓名" id="realName" th:value="${realName}" /> 
						</div>	
						
						<label for="payType" class="am-u-lg-1 am-form-label">还款方式</label>
						<div class="am-u-lg-1">
					 		<select id="payType" data-am-selected="{btnWidth: '100%'}"  style="display: none;" name="payType"  >
								<option th:each="item : ${payType}" 	     th:value="${item.key}"    th:text="${item.value}" th:selected="${item.key==''}"></option>
							</select> 
						</div>	
						<label for="loanStatus" class="am-u-lg-1 am-form-label">还款状态</label>
						<div class="am-u-lg-1 am-u-end">
					 		<select id="loanStatus" data-am-selected="{btnWidth: '100%'}"  style="display: none;" name="loanStatus"  >
								<option th:each="item : ${loanStatus}" 	     th:value="${item.key}"    th:text="${item.value}" th:selected="${item.key==''}"></option>
							</select> 
						</div>
					</div>
					<div class="am-form-group">
						<label for="payType" class="am-u-lg-1 am-form-label">借款用途</label>
						<div class="am-u-lg-1 ">
					 		<select id="purpose" data-am-selected="{btnWidth: '100%'}"  style="display: none;" name="purpose"  >
								<option th:each="item : ${purpose}" 	     th:value="${item.key}"    th:text="${item.value}" th:selected="${item.key==''}"></option>
							</select> 
						</div>	
						<label class="am-u-sm-6 am-u-lg-1 am-form-label">借款时间：</label>
						<div class="am-u-sm-12 am-u-lg-2">
							<input type="text" placeholder="开始时间" th:value="${startTime}" id="startTime"  class="form-datetime-lang am-form-field" />
						</div>
						<div class="am-u-sm-12 am-u-lg-2 ">
							<input type="text" placeholder="结束时间" th:value="${endTime}" id="endTime"  class="form-datetime-lang am-form-field" />
						</div>
						<label class="am-u-sm-6 am-u-lg-1 am-form-label">结清时间：</label>
						<div class="am-u-sm-12 am-u-lg-2">
							<input type="text" placeholder="开始时间" th:value="${startRepayTime}" id="startRepayTime"  class="form-datetime-lang am-form-field" />
						</div>
						<div class="am-u-sm-12 am-u-lg-2 ">
							<input type="text" placeholder="结束时间" th:value="${endRepayTime}" id="endRepayTime"  class="form-datetime-lang am-form-field" />
						</div>
					</div>
					<div class="am-form-group">
						<label class="am-u-sm-6 am-u-lg-1 am-form-label">起息时间：</label>
						<div class="am-u-sm-12 am-u-lg-2">
							<input type="text" placeholder="开始时间" th:value="${startReleaseTime}" id="startReleaseTime"  class="form-datetime-lang am-form-field" />
						</div>
						<div class="am-u-sm-12 am-u-lg-2 ">
							<input type="text" placeholder="结束时间" th:value="${endReleaseTime}" id="endReleaseTime"  class="form-datetime-lang am-form-field" />
						</div>
						<label for="realName" class="am-u-lg-2 am-form-label">合伙人手机号/姓名</label>
						<div class="am-u-lg-2 am-u-end">
						 	<input type="text" class="am-form-field " placeholder="合伙人手机号/姓名" id="agentName" th:value="${agentName}" /> 
						</div>	
						<button type="button" class="am-btn am-btn-secondary " onclick="search()">查询</button>
					</div>
				</form>
				
				<div class="widget-body  am-fr">
					<!-- 表格 -->
					<div class="am-u-sm-12">
							<div class="widget-main padding-6 no-padding-left no-padding-right">
								<div id="dtGridContainer" class="dlshouwen-grid-container" style="overflow-x:auto; width:1500px;"></div>
								<div id="dtGridToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
							</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" th:src="@{/customer/jkreport/user/user_report_detail.js}"/>

